package com.eastfair.home.service;

import com.eastfair.boot.service.SuperService;
import com.eastfair.home.dto.SpaceDrawingDTO;
import com.eastfair.home.entity.ReportVenueSpace;
import com.eastfair.home.entity.SpaceDrawing;
import com.eastfair.home.vo.SpaceDrawingVO;

import java.util.List;

/**
 * <p>
 * 业务接口
 * 展厅图纸
 * </p>
 *
 * @author dq
 * @date 2022 -09-19
 */
@Deprecated
public interface SpaceDrawingService extends SuperService<SpaceDrawing> {

    /**
     * 查询展厅图纸VO列表.
     *
     * @param spaceDrawingDTO the space drawing dto
     * @return the list
     */
    List<SpaceDrawingVO> listSpaceDrawingVOs(SpaceDrawingDTO spaceDrawingDTO);

    /**
     * 查询展厅图纸列表.
     *
     * @param spaceDrawingDTO the space drawing dto
     * @return the list
     */
    List<SpaceDrawing> listSpaceDrawings(SpaceDrawingDTO spaceDrawingDTO);

    /**
     * 保存展厅图纸.
     *
     * @param spaceDrawingDTO the space drawing dto
     * @return the boolean
     */
    boolean saveSpaceDrawing(SpaceDrawingDTO spaceDrawingDTO);

    /**
     * 批量保存展厅图纸.
     *
     * @param list the space drawing dto
     * @return the boolean
     */
    boolean saveBatchSpaceDrawing(List<SpaceDrawingDTO> list);

    /**
     * 通过一键报馆号保存展厅图纸.
     *
     * @param reportVenueSpace the report venue space
     * @return the boolean
     */
    boolean saveByReportVenueSpace(ReportVenueSpace reportVenueSpace);

    /**
     * 展厅编码删除展厅图纸.
     *
     * @param spaceCode          the space code
     * @param drawingCategoryIds the drawing category id
     * @return the boolean
     */
    boolean removeBatchBySpaceCode(String spaceCode, List<Long> drawingCategoryIds);
}
